package com.das.mechanic_base.mvp.contract.create;

import com.das.mechanic_base.base.X3IBaseView;
import com.das.mechanic_base.bean.main.HomeBodyItemBean;
import com.das.mechanic_base.bean.main.ReceiveStatusBean;

import java.util.List;
import java.util.Map;

public interface X3ServiceListContract {

    interface View extends X3IBaseView {

        /**
         * 获取全部接车单状态和数量
         */
        void getReceiveStatusSuccess(List<ReceiveStatusBean> mList,int showIndex);

        void getReceiveDetailListSuccess(List<HomeBodyItemBean.ListBean> mList);

    }

    interface Presenter {

        /**
         * 请求全部接车单状态和数量
         */
        void requestReceiveStatus(int showIndex);

        /**
         * 获取对应状态下的接车单列表
         * @param map
         * @param receiveBaseStatusId
         */
        void requestReceiveDetailList(Map<String,Object> map, long receiveBaseStatusId);

    }
}
